#ifndef __JAVALANG_H__
#define __JAVALANG_H__

#include "compileLang.h"
class JavaLanguage : public CompileLanguage
{   
    // 虚拟机初始内存32m，最大内存256m
    // "javac", "-encoding", "utf-8", "-J-Xms32m", "-J-Xmx256m"
public:
    JavaLanguage(const string& name);
    std::string getBinaryFilename(std::string src) const final;
    std::string compileFileStr(std::string filename, std::string target) const final;
    std::string runFileStr(std::string filename) const final;
};


#endif /* __JAVALANG_H__ */
